Accessibility

Using Swap Object to Switch a Symbol in the Document

When you need to remove a symbol on a page and replace it with another from your library, you really only have two choices:

  1. Delete the existing symbol instance from the page. Drag out its replacement and slide, scale, rotate, or nudge it to position the replacement symbol somewhere near the location of the original one.
  2. Swap the symbol with one button click. Swapping a symbol is often far better than the previous alternative.

Before getting into the symbol swapping, I need to duplicate some pages, which will give us some logo symbols to swap.

At this point in the logo browser project, I have completed all of the features on our logo destination page. All I need to do now is duplicate this page four times and customize it for each of the remaining logos.

Here's a quick overview on selecting and duplicating pages. You can select the page you wish to duplicate by using the Go-to-page pop-up menu at the bottom-middle of the document window or you can use the Document page to select the page directly. Once you are sure you have the right page selected, you may use the Duplicate command from the Document pop-up menu.

Figure 19: Using the Duplicate command from the Document pop-up menu

Figure 19: Using the Duplicate command from the Document pop-up menu

I make four copies of page 2.

Figure 20: Making four copies, using the Duplicate command

Figure 20: Making four copies, using the Duplicate command

Now I am ready to customize each duplicated page for the rest of the logo design. I will use swap symbol to change the logo first. Here are the steps:

  1. Select the symbol that you want to swap.
  2. Open the library and pick the object you wish to swap with. In this case, I have selected a logo in the document and then selected the second logo in my library.

    Figure 21: Selecting the two logos you will swap

    Figure 21: Selecting the two logos you will swap

  3. Click the Swap Symbol button. Immediately the instance will change to the selected symbol in the library. The new symbol instance will inherit all of the scale, skew, and other attributes of the previous instance (which can be good or bad, depending on the native aspect ratio of the two symbols).

    Figure 22: The new symbol

    Figure 22: The new symbol

That's all there is to swapping a symbol instance. Now, I need to update the rest of this page. All I need to do is change the title from "Logo 1a" to "Logo 1b" and modify the links on the three custom buttons.

Modifying the buttons is very simple. The "Back to Menu" button is already done, since that button always goes to the same page. For the other three buttons, I simply open the Navigation panel and make the following edits:

  1. Choose Print button and pick "Page 3" on the Properties pop-up menu
  2. Choose View at Higher Res button and change the link to "logoart/Logo1b.gif"
  3. Choose Download Source button and change the link to "logoart/Logo1b.zip"

One logo page down, and three more to go! I simply repeat the above steps using the proper logo and files names (swap symbol, change title, edit buttons) for each of the remaining pages.

To complete this project, there's only one more thing left to do. I must go back to the main menu page and make buttons for the last four logos. I must draw four more button regions and use the Action tool to link to my new logo pages (performing the steps outlined at the beginning of this project article). When I am done, the five buttons will appear as follows:

Figure 23: The five buttons

Figure 23: The five buttons

In this case, I decided to simply hide this layer of buttons behind all of the other layers. I didn't use the layer for anything else, and the end results work great in Macromedia Flash.